<!--
//==================================
//  Weather for google earth v1.0
//  更新时间: 2007-08-24
//  embont@gmail.com
//  www.dnxh.cn
//==================================
--><?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:output method="html" encoding="UTF-8" indent="yes"/>
	<xsl:param name="dnam"/>
	<xsl:param name="ServerURL"/>
	<xsl:template match="/">
		<xsl:variable name="hour" select="substring-before(/weather/loc/tm,':')"/>
		<xsl:variable name="dnFlag">
			<xsl:choose>
				<xsl:when test="contains(/weather/loc/tm,'AM')">
					<xsl:choose>
						<xsl:when test="($hour != 12) and ($hour &gt; 6)">d</xsl:when>
						<xsl:otherwise>n</xsl:otherwise>
					</xsl:choose>
				</xsl:when>
				<xsl:when test="contains(/weather/loc/tm,'PM')">
					<xsl:choose>
						<xsl:when test="($hour = 12) or ($hour &lt; 7)">d</xsl:when>
						<xsl:otherwise>n</xsl:otherwise>
					</xsl:choose>
				</xsl:when>
			</xsl:choose>
		</xsl:variable>
		<xsl:variable name="BGColor">
			<xsl:choose>
				<xsl:when test="$dnFlag = 'd'">FFCC99</xsl:when>
				<xsl:otherwise>BBBBBB</xsl:otherwise>
			</xsl:choose>
		</xsl:variable>
<kml xmlns="http://earth.google.com/kml/2.1">
<Document>
<name>
<xsl:value-of select="$dnam"/>
</name>
<open>0</open>
<Placemark>
<name>
<xsl:value-of select="$dnam"/>
</name>
<Snippet maxLines="2"/>
<description>
<xsl:text disable-output-escaping="yes">&lt;![CDATA[</xsl:text><table width="510"><tr><td width="260"><b>当前天气情况:</b><br/>描述：<xsl:call-template name="transWeather"><xsl:with-param name="sWeather" select="/weather/cc/t"/></xsl:call-template><br/>温度：<xsl:choose><xsl:when test = "/weather/cc/tmp = 'N/A'">--</xsl:when><xsl:when test = "/weather/head/ut = 'C'"><xsl:value-of select="/weather/cc/tmp"/>℃</xsl:when><xsl:otherwise><xsl:value-of select="/weather/cc/tmp"/>F</xsl:otherwise></xsl:choose><br/>风向：<xsl:call-template name="transWind"><xsl:with-param name="sWind" select="/weather/cc/wind/t"/></xsl:call-template><br/>风速：<xsl:choose><xsl:when test = "/weather/cc/wind/s = 'calm'">平静</xsl:when><xsl:when test = "/weather/cc/wind/s = 'N/A'">--</xsl:when><xsl:when test = "/weather/head/us = 'km/h'"><xsl:value-of select="/weather/cc/wind/s"/>千米/小时</xsl:when><xsl:otherwise><xsl:value-of select="/weather/cc/wind/s"/><xsl:value-of select="/weather/head/us"/></xsl:otherwise></xsl:choose><br/>湿度：<xsl:choose><xsl:when test = "/weather/cc/hmid = 'N/A'">--</xsl:when><xsl:otherwise><xsl:value-of select="/weather/cc/hmid"/>%</xsl:otherwise></xsl:choose><br/>能见度：<xsl:choose><xsl:when test = "/weather/cc/vis = 'N/A'">--</xsl:when><xsl:when test = "/weather/cc/vis = 'Unlimited'">无限远</xsl:when><xsl:when test = "/weather/head/ud = 'km'"><xsl:value-of select="/weather/cc/vis"/>千米</xsl:when><xsl:otherwise><xsl:value-of select="/weather/cc/vis"/><xsl:value-of select="/weather/head/ud"/></xsl:otherwise></xsl:choose><br/>日出：<xsl:value-of select="/weather/loc/sunr"/><br/>日落：<xsl:value-of select="/weather/loc/suns"/><br/>发布时间：<xsl:value-of select="/weather/cc/lsup"/><br/><font color="#EC6810"><a><xsl:attribute name="href"><xsl:value-of select="$ServerURL"/>/updata.asp?code=<xsl:value-of select="weather/loc/@id"/></xsl:attribute>手动更新</a></font></td><td width="250"><img border="0"><xsl:attribute name="src"><xsl:value-of select="$ServerURL"/>/img/icon/<xsl:choose><xsl:when test = "/weather/cc/icon = '-'">44d</xsl:when><xsl:otherwise><xsl:value-of select="/weather/cc/icon"/><xsl:value-of select="$dnFlag"/></xsl:otherwise></xsl:choose>.png</xsl:attribute></img></td></tr></table><b>天气预报:</b><br/><table><tr><td><xsl:choose><xsl:when test="(($hour &gt; 1) and ($hour &lt; 12)) and (contains(/weather/loc/tm,'PM'))">今晚<br/><img border="0"><xsl:attribute name="src"><xsl:value-of select="$ServerURL"/>/img/icon/<xsl:value-of select="weather/dayf/day[@d = 0]/part[@p = 'n']/icon"/>s.png</xsl:attribute></img><br/><xsl:call-template name="transWeather"><xsl:with-param name="sWeather" select="weather/dayf/day[@d = 0]/part[@p = 'n']/t"/></xsl:call-template><br/>最高：<xsl:choose><xsl:when test = "weather/dayf/day[@d = 0]/hi = 'N/A'">--</xsl:when><xsl:when test = "/weather/head/ut = 'C'"><xsl:value-of select="weather/dayf/day[@d = 0]/hi"/>℃</xsl:when><xsl:otherwise><xsl:value-of select="weather/dayf/day[@d = 0]/hi"/><xsl:value-of select="/weather/head/ut"/></xsl:otherwise></xsl:choose><br/>最低：<xsl:choose><xsl:when test = "weather/dayf/day[@d = 0]/low = 'N/A'">--</xsl:when><xsl:when test = "/weather/head/ut = 'C'"><xsl:value-of select="weather/dayf/day[@d = 0]/low"/>℃</xsl:when><xsl:otherwise><xsl:value-of select="weather/dayf/day[@d = 0]/low"/><xsl:value-of select="/weather/head/ut"/></xsl:otherwise></xsl:choose><br/></xsl:when><xsl:otherwise>今日<br/><img border="0"><xsl:attribute name="src"><xsl:value-of select="$ServerURL"/>/img/icon/<xsl:value-of select="weather/dayf/day[@d = 0]/part[@p = 'd']/icon"/>s.png</xsl:attribute></img><br/><xsl:call-template name="transWeather"><xsl:with-param name="sWeather" select="weather/dayf/day[@d = 0]/part[@p = 'd']/t"/></xsl:call-template><br/>最高：<xsl:choose><xsl:when test = "weather/dayf/day[@d = 0]/hi = 'N/A'">--</xsl:when><xsl:when test = "/weather/head/ut = 'C'"><xsl:value-of select="weather/dayf/day[@d = 0]/hi"/>℃</xsl:when><xsl:otherwise><xsl:value-of select="weather/dayf/day[@d = 0]/hi"/><xsl:value-of select="/weather/head/ut"/></xsl:otherwise></xsl:choose><br/>最低：<xsl:choose><xsl:when test = "weather/dayf/day[@d = 0]/low = 'N/A'">--</xsl:when><xsl:when test = "/weather/head/ut = 'C'"><xsl:value-of select="weather/dayf/day[@d = 0]/low"/>℃</xsl:when><xsl:otherwise><xsl:value-of select="weather/dayf/day[@d = 0]/low"/><xsl:value-of select="/weather/head/ut"/></xsl:otherwise></xsl:choose><br/></xsl:otherwise></xsl:choose></td><xsl:for-each select="/weather/dayf/day[@d != 0]"><td><xsl:call-template name="transWeek"><xsl:with-param name="sWeek" select="./@t"/></xsl:call-template><br/><img border="0"><xsl:attribute name="src"><xsl:value-of select="$ServerURL"/>/img/icon/<xsl:value-of select="./part[@p = 'd']/icon"/>s.png</xsl:attribute></img><br/><xsl:call-template name="transWeather"><xsl:with-param name="sWeather" select="./part[@p = 'd']/t"/></xsl:call-template><br/>最高：<xsl:choose><xsl:when test = "hi = 'N/A'">--</xsl:when><xsl:when test = "/weather/head/ut = 'C'"><xsl:value-of select="hi"/>℃</xsl:when><xsl:otherwise><xsl:value-of select="hi"/><xsl:value-of select="/weather/head/ut"/></xsl:otherwise></xsl:choose><br/>最低：<xsl:choose><xsl:when test = "low = 'N/A'">--</xsl:when><xsl:when test = "/weather/head/ut = 'C'"><xsl:value-of select="low"/>℃</xsl:when><xsl:otherwise><xsl:value-of select="low"/><xsl:value-of select="/weather/head/ut"/></xsl:otherwise></xsl:choose><br/></td></xsl:for-each></tr></table><xsl:text disable-output-escaping="yes">]]&gt;</xsl:text>
</description>
<styleUrl><xsl:value-of select="$ServerURL"/>/style/styleCN.asp#styleMapExample<xsl:choose><xsl:when test = "/weather/cc/icon = '-'">44</xsl:when><xsl:otherwise><xsl:value-of select="/weather/cc/icon"/></xsl:otherwise></xsl:choose><xsl:value-of select="$BGColor"/></styleUrl>
<Point>
<coordinates>
<xsl:value-of select="/weather/loc/lon"/>,<xsl:value-of select="/weather/loc/lat"/>,0</coordinates>
</Point>
</Placemark>
</Document>
</kml>
	</xsl:template>
	<xsl:template name="transWeek" match="@t">
		<xsl:param name="sWeek"/>
		<xsl:choose>
			<xsl:when test='$sWeek = "Sunday"'    >星期日</xsl:when>
			<xsl:when test='$sWeek = "Monday"'    >星期一</xsl:when>
			<xsl:when test='$sWeek = "Tuesday"'   >星期二</xsl:when>
			<xsl:when test='$sWeek = "Wednesday"' >星期三</xsl:when>
			<xsl:when test='$sWeek = "Thursday"'  >星期四</xsl:when>
			<xsl:when test='$sWeek = "Friday"'    >星期五</xsl:when>
			<xsl:when test='$sWeek = "Saturday"'  >星期六</xsl:when>
		</xsl:choose>
	</xsl:template>
	<xsl:template name="transWind" match="t">
		<xsl:param name="sWind"/>
		<xsl:choose>
			<xsl:when test="$sWind = 'E'">东风</xsl:when>
			<xsl:when test="$sWind = 'S'">南风</xsl:when>
			<xsl:when test="$sWind = 'N'">北风</xsl:when>
			<xsl:when test="$sWind = 'W'">西风</xsl:when>
			<xsl:when test="$sWind = 'NE'">东北</xsl:when>
			<xsl:when test="$sWind = 'SW'">西南</xsl:when>
			<xsl:when test="$sWind = 'SE'">东南</xsl:when>
			<xsl:when test="$sWind = 'NW'">西北</xsl:when>
			<xsl:when test="$sWind = 'WNW'">西转西北</xsl:when>
			<xsl:when test="$sWind = 'NNE'">北转东北</xsl:when>
			<xsl:when test="$sWind = 'ESE'">东转东南</xsl:when>
			<xsl:when test="$sWind = 'NNW'">北转东北</xsl:when>
			<xsl:when test="$sWind = 'SSW'">南转西南</xsl:when>
			<xsl:when test="$sWind = 'WSW'">西转西南</xsl:when>
			<xsl:when test="$sWind = 'ENE'">东转东北</xsl:when>
			<xsl:when test="$sWind = 'SSE'">南转东南</xsl:when>
			<xsl:when test="$sWind = 'VAR'">一直改变</xsl:when>
			<xsl:when test="$sWind = 'CALM'">平静</xsl:when>
			<xsl:when test="$sWind = 'N/A'">--</xsl:when>
		</xsl:choose>
	</xsl:template>
	<xsl:template name="transWeather" match="t">
		<xsl:param name="sWeather"/>
		<xsl:choose>
<xsl:when test="$sWeather = 'A Few Clouds'">少云</xsl:when>
<xsl:when test="$sWeather = 'AM Clouds / PM Sun'">上午阴/下午晴</xsl:when>
<xsl:when test="$sWeather = 'AM Clouds / PM Sun / Wind'">上午阴/下午晴/风</xsl:when>
<xsl:when test="$sWeather = 'AM Drizzle'">上午细雨</xsl:when>
<xsl:when test="$sWeather = 'AM Light Rain'">上午小雨</xsl:when>
<xsl:when test="$sWeather = 'AM Light Rain / Wind'">上午小雨/风</xsl:when>
<xsl:when test="$sWeather = 'AM Light Snow'">上午小雪</xsl:when>
<xsl:when test="$sWeather = 'AM Light Snow / Wind'">上午小雪/风</xsl:when>
<xsl:when test="$sWeather = 'AM Light Wintry Mix'">上午小雨夹雪</xsl:when>
<xsl:when test="$sWeather = 'AM Rain'">上午中雨</xsl:when>
<xsl:when test="$sWeather = 'AM Rain / Ice'">上午中雨/冰雹</xsl:when>
<xsl:when test="$sWeather = 'AM Rain / Snow'">上午中雨/中雪</xsl:when>
<xsl:when test="$sWeather = 'AM Rain / Snow / Wind'">上午中雨/中雪/风</xsl:when>
<xsl:when test="$sWeather = 'AM Rain / Snow Showers'">上午中雨/阵雪</xsl:when>
<xsl:when test="$sWeather = 'AM Rain / Wind'">上午中雨/风</xsl:when>
<xsl:when test="$sWeather = 'AM Showers'">上午阵雨</xsl:when>
<xsl:when test="$sWeather = 'AM Showers / Wind'">上午阵雨/风</xsl:when>
<xsl:when test="$sWeather = 'AM Snow'">上午中雪</xsl:when>
<xsl:when test="$sWeather = 'AM Snow Showers'">上午阵雪</xsl:when>
<xsl:when test="$sWeather = 'AM Snow Showers / Wind'">上午阵雪/风</xsl:when>
<xsl:when test="$sWeather = 'AM Thunderstorms'">上午雷暴</xsl:when>
<xsl:when test="$sWeather = 'AM Wintry Mix'">上午雨夹雪</xsl:when>
<xsl:when test="$sWeather = 'Blowing Dust'">扬尘</xsl:when>
<xsl:when test="$sWeather = 'Blowing Sand and Windy'">扬沙／强风</xsl:when>
<xsl:when test="$sWeather = 'Blowing Snow'">扬雪</xsl:when>
<xsl:when test="$sWeather = 'Clear'">晴朗</xsl:when>
<xsl:when test="$sWeather = 'Clouds Early / Clearing Late'">早上阴/晚上晴</xsl:when>
<xsl:when test="$sWeather = 'Cloudy'">阴</xsl:when>
<xsl:when test="$sWeather = 'Cloudy / Wind'">阴/风</xsl:when>
<xsl:when test="$sWeather = 'Cloudy and Windy'">阴有强风</xsl:when>
<xsl:when test="$sWeather = 'Drizzle'">细雨</xsl:when>
<xsl:when test="$sWeather = 'Fair'">晴</xsl:when>
<xsl:when test="$sWeather = 'Fair and Windy'">晴/强风</xsl:when>
<xsl:when test="$sWeather = 'Few Showers'">小阵雨</xsl:when>
<xsl:when test="$sWeather = 'Few Showers / Wind'">小阵雨/风</xsl:when>
<xsl:when test="$sWeather = 'Few Snow Showers'">小阵雪</xsl:when>
<xsl:when test="$sWeather = 'Few Snow Showers / Wind'">小阵雪/风</xsl:when>
<xsl:when test="$sWeather = 'Flurries'">微雪</xsl:when>
<xsl:when test="$sWeather = 'Flurries / Wind'">微雪/风</xsl:when>
<xsl:when test="$sWeather = 'Fog'">雾</xsl:when>
<xsl:when test="$sWeather = 'Haze'">薄雾</xsl:when>
<xsl:when test="$sWeather = 'Heavy Rain'">大雨</xsl:when>
<xsl:when test="$sWeather = 'Heavy Rain / Wind'">大雨/风</xsl:when>
<xsl:when test="$sWeather = 'Heavy Snow'">大雪</xsl:when>
<xsl:when test="$sWeather = 'Heavy T-Storms / Wind'">大雷雨/风</xsl:when>
<xsl:when test="$sWeather = 'Hvy Rain / Freezing Rain'">大雨/冻雨</xsl:when>
<xsl:when test="$sWeather = 'Ice to Rain'">冰雹转雨</xsl:when>
<xsl:when test="$sWeather = 'Iso T-Storms / Wind'">局部雷雨/风</xsl:when>
<xsl:when test="$sWeather = 'Isolated T-Storms'">局部雷雨</xsl:when>
<xsl:when test="$sWeather = 'Light Drizzle'">微雨</xsl:when>
<xsl:when test="$sWeather = 'Light Rain'">小雨</xsl:when>
<xsl:when test="$sWeather = 'Light Rain Late'">晚有小雨</xsl:when>
<xsl:when test="$sWeather = 'Light Rain / Freezing Rain'">小雨/冻雨</xsl:when>
<xsl:when test="$sWeather = 'Light Rain / Wind'">小雨/风</xsl:when>
<xsl:when test="$sWeather = 'Light Rain Shower'">小阵雨</xsl:when>
<xsl:when test="$sWeather = 'Light Rain Shower and Windy'">小阵雨/强风</xsl:when>
<xsl:when test="$sWeather = 'Light Rain with Thunder'">小雨有雷</xsl:when>
<xsl:when test="$sWeather = 'Light Snow'">小雪</xsl:when>
<xsl:when test="$sWeather = 'Light Snow / Wind'">小雪/风</xsl:when>
<xsl:when test="$sWeather = 'Light Snow and Fog'">小雪有雾</xsl:when>
<xsl:when test="$sWeather = 'Light Snow Grains'">小米雪</xsl:when>
<xsl:when test="$sWeather = 'Light Snow Late'">晚有小雪</xsl:when>
<xsl:when test="$sWeather = 'Light Snow Shower'">小阵雪</xsl:when>
<xsl:when test="$sWeather = 'Light Snow Shower / Wind'">小阵雪/风</xsl:when>
<xsl:when test="$sWeather = 'Mist'">薄雾</xsl:when>
<xsl:when test="$sWeather = 'Mostly Clear'">大部晴朗</xsl:when>
<xsl:when test="$sWeather = 'Mostly Clear / Wind'">大部晴朗／风</xsl:when>
<xsl:when test="$sWeather = 'Mostly Cloudy'">大部多云</xsl:when>
<xsl:when test="$sWeather = 'Mostly Cloudy / Wind'">大部多云／风</xsl:when>
<xsl:when test="$sWeather = 'Mostly Cloudy and Windy'">大部多云有强风</xsl:when>
<xsl:when test="$sWeather = 'Mostly Sunny'">大部晴朗</xsl:when>
<xsl:when test="$sWeather = 'Mostly Sunny / Wind'">大部晴朗/风</xsl:when>
<xsl:when test="$sWeather = 'Partly Cloudy'">多云</xsl:when>
<xsl:when test="$sWeather = 'Partly Cloudy / Wind'">多云/风</xsl:when>
<xsl:when test="$sWeather = 'Partly Cloudy and Windy'">多云有强风</xsl:when>
<xsl:when test="$sWeather = 'PM Drizzle'">下午细雨</xsl:when>
<xsl:when test="$sWeather = 'PM Light Rain'">下午小雨</xsl:when>
<xsl:when test="$sWeather = 'PM Light Rain / Ice'">下午小雨/冰雹</xsl:when>
<xsl:when test="$sWeather = 'PM Light Rain / Wind'">下午小雨/风</xsl:when>
<xsl:when test="$sWeather = 'PM Light Snow'">下午小雪</xsl:when>
<xsl:when test="$sWeather = 'PM Light Snow / Wind'">下午小雪/风</xsl:when>
<xsl:when test="$sWeather = 'PM Rain'">下午中雨</xsl:when>
<xsl:when test="$sWeather = 'PM Rain / Snow'">下午中雨/中雪</xsl:when>
<xsl:when test="$sWeather = 'PM Rain / Snow / Wind'">下午中雨/中雪/风</xsl:when>
<xsl:when test="$sWeather = 'PM Rain / Snow Showers'">下午中雨/阵雪</xsl:when>
<xsl:when test="$sWeather = 'PM Showers'">下午阵雨</xsl:when>
<xsl:when test="$sWeather = 'PM Showers / Wind'">下午阵雨/风</xsl:when>
<xsl:when test="$sWeather = 'PM Snow'">下午中雪</xsl:when>
<xsl:when test="$sWeather = 'PM Snow / Wind'">下午中雪/风</xsl:when>
<xsl:when test="$sWeather = 'PM Snow Showers'">下午阵雪</xsl:when>
<xsl:when test="$sWeather = 'PM Snow Showers / Wind'">下午阵雪/风</xsl:when>
<xsl:when test="$sWeather = 'PM T-Storms'">下午雷雨</xsl:when>
<xsl:when test="$sWeather = 'PM Wintry Mix'">下午雨夹雪</xsl:when>
<xsl:when test="$sWeather = 'Rain'">中雨</xsl:when>
<xsl:when test="$sWeather = 'Rain / Freezing Rain'">中雨/冻雨</xsl:when>
<xsl:when test="$sWeather = 'Rain / Sleet'">中雨/雨雪</xsl:when>
<xsl:when test="$sWeather = 'Rain / Snow'">中雨/中雪</xsl:when>
<xsl:when test="$sWeather = 'Rain / Snow / Wind'">中雨/中雪/风</xsl:when>
<xsl:when test="$sWeather = 'Rain / Snow Showers'">中雨/阵雪</xsl:when>
<xsl:when test="$sWeather = 'Rain / Snow Showers / Wind'">中雨/阵雪/风</xsl:when>
<xsl:when test="$sWeather = 'Rain / Snow Showers Late'">中雨/晚阵雪</xsl:when>
<xsl:when test="$sWeather = 'Rain / Thunder'">中雨/雷</xsl:when>
<xsl:when test="$sWeather = 'Rain / Thunder / Wind'">中雨/雷/风</xsl:when>
<xsl:when test="$sWeather = 'Rain / Wind'">中雨/风</xsl:when>
<xsl:when test="$sWeather = 'Rain and Snow'">中雨/中雪</xsl:when>
<xsl:when test="$sWeather = 'Rain Shower'">阵雨</xsl:when>
<xsl:when test="$sWeather = 'Rain to Snow'">中雨转中雪</xsl:when>
<xsl:when test="$sWeather = 'Rain to Snow / Wind'">中雨转中雪/风</xsl:when>
<xsl:when test="$sWeather = 'Scattered Flurries'">零星微雪</xsl:when>
<xsl:when test="$sWeather = 'Scattered Showers'">零星阵雨</xsl:when>
<xsl:when test="$sWeather = 'Scattered Showers / Wind'">零星阵雨/风</xsl:when>
<xsl:when test="$sWeather = 'Scattered Snow Showers'">零星阵雪</xsl:when>
<xsl:when test="$sWeather = 'Scattered T-Storms'">零星雷雨</xsl:when>
<xsl:when test="$sWeather = 'Scattered Flurries / Wind'">零星微雪/风</xsl:when>
<xsl:when test="$sWeather = 'Scattered Snow Showers / Wind'">零星阵雪/风</xsl:when>
<xsl:when test="$sWeather = 'Scattered Strong Storms'">零星強风暴</xsl:when>
<xsl:when test="$sWeather = 'Scattered T-Storms / Wind'">零星雷雨/风</xsl:when>
<xsl:when test="$sWeather = 'Showers'">持续阵雨</xsl:when>
<xsl:when test="$sWeather = 'Showers / Wind'">持续阵雨/风</xsl:when>
<xsl:when test="$sWeather = 'Showers / Wind Late'">阵雨/晚有风</xsl:when>
<xsl:when test="$sWeather = 'Showers Early'">早有阵雨</xsl:when>
<xsl:when test="$sWeather = 'Showers in the Vicinity'">周围有阵雨</xsl:when>
<xsl:when test="$sWeather = 'Showers Late'">晚有阵雨</xsl:when>
<xsl:when test="$sWeather = 'Smoke'">烟雾</xsl:when>
<xsl:when test="$sWeather = 'Snow'">中雪</xsl:when>
<xsl:when test="$sWeather = 'Snow and Ice to Rain'">中雪有冰雹转雨</xsl:when>
<xsl:when test="$sWeather = 'Snow Grains'">米雪</xsl:when>
<xsl:when test="$sWeather = 'Snow Shower'">阵雪</xsl:when>
<xsl:when test="$sWeather = 'Snow Shower / Wind'">阵雪/风</xsl:when>
<xsl:when test="$sWeather = 'Snow Shower / Wind Early'">阵雪/早有风</xsl:when>
<xsl:when test="$sWeather = 'Snow Showers Early'">早有阵雪</xsl:when>
<xsl:when test="$sWeather = 'Snow Showers Late'">晚有阵雪</xsl:when>
<xsl:when test="$sWeather = 'Snow to Ice'">中雪转冰雹</xsl:when>
<xsl:when test="$sWeather = 'Snow to Ice / Wind'">中雪转冰雹/风</xsl:when>
<xsl:when test="$sWeather = 'Snow to Rain'">中雪转中雨</xsl:when>
<xsl:when test="$sWeather = 'Snow to Rain / Wind'">中雪转中雨/风</xsl:when>
<xsl:when test="$sWeather = 'Snow to Wintry Mix'">中雪转雨夹雪</xsl:when>
<xsl:when test="$sWeather = 'Snow / Wind'">中雪/风</xsl:when>
<xsl:when test="$sWeather = 'Sprinkles'">小阵雨</xsl:when>
<xsl:when test="$sWeather = 'Strong Storms'">強风暴</xsl:when>
<xsl:when test="$sWeather = 'Strong Storms / Wind'">強风暴/风</xsl:when>
<xsl:when test="$sWeather = 'Sunny'">晴</xsl:when>
<xsl:when test="$sWeather = 'Sunny / Windy'">晴/风</xsl:when>
<xsl:when test="$sWeather = 'T-Showers'">雷阵雨</xsl:when>
<xsl:when test="$sWeather = 'T-Storm'">雷雨</xsl:when>
<xsl:when test="$sWeather = 'T-Storms'">持续雷雨</xsl:when>
<xsl:when test="$sWeather = 'T-Storms / Wind'">持续雷雨/风</xsl:when>
<xsl:when test="$sWeather = 'T-Storms Early'">早有持续雷雨</xsl:when>
<xsl:when test="$sWeather = 'T-Storms Late'">晚有持续雷雨</xsl:when>
<xsl:when test="$sWeather = 'Widespread Dust'">沙尘暴</xsl:when>
<xsl:when test="$sWeather = 'Thunder in the Vicinity'">周围有雷雨</xsl:when>
<xsl:when test="$sWeather = 'Wintry Mix'">雨夹雪</xsl:when>
<xsl:when test="$sWeather = 'Wintry Mix / Wind'">雨夹雪/风</xsl:when>
<xsl:when test="$sWeather = 'Wintry Mix to Snow'">雨夹雪转中雪</xsl:when>
<xsl:when test="$sWeather = 'not available'">无可用</xsl:when>
<xsl:when test="$sWeather = 'Unknown'">未知</xsl:when>
<xsl:when test="$sWeather = 'N/A'"><font color="#FF0000">数据更新中……</font></xsl:when>
<xsl:when test="$sWeather = ''"/>
			<xsl:otherwise><xsl:value-of select="$sWeather"/></xsl:otherwise>
		</xsl:choose>
	</xsl:template>
</xsl:stylesheet>